package com.zhongc.advance.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.zhongc.advance.info.UserloginLog;

public interface UserloginLogDao {
	
	
	public void addLoginLog(UserloginLog log);
	
	/**
	 * 查询最后一次登陆日志
	 * @param userId
	 * @return
	 */
	public UserloginLog queryLastLoginTime(@Param("userId") String userId);
	
	/**
	 * 根据条件查询登陆日志信息
	 * @param conditions
	 * @return
	 */
	public List<UserloginLog> queryLoginLog(Map<String,Object> conditions);
	
}